var Mock = require('mockjs')

var employees = Mock.mock({
  'list|4': [{
    'id|+1':1,
    name:'@cname',
    age: '@natural(20,70)',
    'gender|1':['male','female'],
    'phoneNumber':/\d{5,10}/,
    email:'@email',
    address:'@county(true)',
    'department|1':['人事部','行政部','后勤部','开发部'],
    /* department:'部门'+'@natural(0,20)',*/
    'position|1':['总裁助理', '销售经理', '技术部长','人力资源总监','车间主任']
  }]
})

module.exports = employees.list;
